package util

import (
	"context"
)

// ServerInterceptorDecider 决定服务端拦截器是否起作用
type ServerInterceptorDecider func(ctx context.Context, fullMethodName string, servingObject interface{}) bool

// ClientInterceptorDecider 决定客户端拦截器是否起作用
type ClientInterceptorDecider func(ctx context.Context, fullMethodName string) bool
